package demo

import (
	"github.com/gin-gonic/gin"
)

var DemoController = &demoController{}

type demoController struct {
}

func (c demoController) Hello(ctx *gin.Context, req *HelloRequest) (res HelloResponse, err error) {
	res.Message = NewHelloService(ctx).SayHello(req)
	return
}
